//
//  HMmyMessageView.m
//  G05爱鲜蜂
//
//  Created by 小灰灰 on 16/10/15.
//  Copyright © 2016年 何源. All rights reserved.
//

#import "HMmyMessageView.h"

@interface HMmyMessageView()
@property (weak, nonatomic) IBOutlet UIButton *myOrder;
@property (weak, nonatomic) IBOutlet UIButton *discountBtn;
@property (weak, nonatomic) IBOutlet UIButton *myMessageBtn;

@end
@implementation HMmyMessageView

-(void)awakeFromNib{
    [super awakeFromNib];
    
}

+(instancetype)loadMyMessageView{
    return [[NSBundle mainBundle]loadNibNamed:@"HMmyMessageView" owner:nil options:nil].lastObject;
}
//我的订单
- (IBAction)myOrderClick:(id)sender {
    if(self.btnClick){
        self.btnClick(BtnClickEventOrder);
    }
 }
//我的优惠券
- (IBAction)myDiscountClick:(id)sender {
    
    if(self.btnClick){
        self.btnClick(BtnClickEventQuan);
    }
}
//我的消息
- (IBAction)myMessageClick:(id)sender {
    
    if(self.btnClick){
        self.btnClick(BtnClickEventMessage);
    }
}
@end
